package com.alpha.dao.interfaces;

import java.sql.SQLException;
import java.util.ArrayList;

import javax.naming.NamingException;

import com.alpha.bom.Student;

public interface IStudentDao {
	
	public void connect() throws NamingException, SQLException;
	public void disconnect() throws SQLException;
	public Student retrieveStudent(int studentId) throws SQLException, NamingException;
	public ArrayList<Student> retrieveStudentsByProfessorId(int professorId) throws SQLException, NamingException;
	public int retrieveNextUserId() throws SQLException;

}
